package ro.gateway.aida.servlet;

import jxl.write.WritableCellFormat;
import jxl.write.WritableFont;
import ro.gateway.aida.db.DBConnector;

/**
 * <p>
 * Title: Romanian AIDA
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: Copyright (comparator) 2003
 * </p>
 * <p>
 * Company: ro-gateway
 * </p>
 * 
 * @author Mihai Popoaei, mihai_popoaei@yahoo.com, smike@intellisource.ro
 * @version 1.0-*
 * @version $Id: Constants.java,v 1.2 2005/04/04 00:09:02 mihaipostelnicu Exp $
 */
public class Constants {
	public static final String SERVICES = "SERVICES";

	// connection factory service
	public static final String SERVICE_CF = "SERVICE_CF";

	// translation factory service
	public static final String SERVICE_TRN = "SERVICE_TRN";

	// id generators service
	public static final String SERVICE_IDGEN = "SERVICE_IDGEN";

	//db connector name
	public static String DBS1 = "oracle";
	public static DBConnector DBC1=null;

	//ID generator labels
	public static final String IDGEN_USERS = "IDGEN_users";

	public static final String IDGEN_OBJECTS = "IDGEN_objects";

	public static final String IDGEN_PERSONS = "IDGEN_persons";

	public static final String IDGEN_CREGIONS = "IDGEN_cregions";

	public static final String IDGEN_REGIONS = "IDGEN_regions";

	public static final String IDGEN_COUNTIES = "IDGEN_counties";

	public static final String IDGEN_TOWNS = "IDGEN_towns";

	public static final String IDGEN_VILLAGES = "IDGEN_villages";

	public static final String IDGEN_ORGANIZATIONS = "IDGEN_organizations";

	public static final String IDGEN_ACTIVITIES = "IDGEN_activities";

	public static final String IDGEN_SECTORS = "IDGEN_sectors";

	public static final String IDGEN_ACT_STATUS = "IDGEN_statuses";

	public static final String IDGEN_TRANS_ITEMS = "IDGEN_tarnsitems";

	public static final String IDGEN_PROP_LIST_ITEMS = "IDGEN_proplistitems";

	public static final String IDGEN_PROP_LISTS = "IDGEN_proplists";

	public static String DEFAULT_LANGUAGE = "en";

	public static final int RESULTS_PER_PAGE = 5;

	//excel font constants:
	public static WritableFont times12font = new WritableFont(
			WritableFont.TIMES, 12, WritableFont.BOLD, true);

	public static WritableCellFormat times12format = new WritableCellFormat(
			times12font);
}